﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sealight.Core.DataAdapter;

namespace Sealight.Core.Domain
{
  public  class DiscountRequirementEntity:BaseEntity
    {
        /// <summary>
        /// Gets or sets the discount requirement identifier
        /// </summary>
        public virtual Guid DiscountRequirementID { get; set; }

        /// <summary>
        /// Gets or sets the name
        /// </summary>
        public virtual string Name { get; set; }
        public virtual discount_requirement ToDataAdapter()
        {
            return new discount_requirement
            {
                id=this.DiscountRequirementID,
                name=this.Name
            };
        }
    }
}
